<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>png++: png::streaming_base&lt; pixel, info_holder &gt; Class Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">png++
   &#160;<span id="projectnumber">0.2.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacepng.html">png</a>      </li>
      <li class="navelem"><a class="el" href="classpng_1_1streaming__base.html">streaming_base</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">png::streaming_base&lt; pixel, info_holder &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="png::streaming_base" -->
<p>A base class template for consumer and generator classes. Provides default <code><a class="el" href="classpng_1_1streaming__base.html#a5e2700341b10eecb7086ef3cf715c438">reset()</a></code> method implementation as well as <code>info_holder</code> policy.  
 <a href="classpng_1_1streaming__base.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="streaming__base_8hpp_source.html">streaming_base.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for png::streaming_base&lt; pixel, info_holder &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpng_1_1streaming__base.png" usemap="#png::streaming_base&lt; pixel, info_holder &gt;_map" alt=""/>
  <map id="png::streaming_base&lt; pixel, info_holder &gt;_map" name="png::streaming_base&lt; pixel, info_holder &gt;_map">
<area href="classpng_1_1consumer.html" title="Pixel consumer class template." alt="png::consumer&lt; pixel, pixcon, info_holder, interlacing_supported &gt;" shape="rect" coords="0,56,394,80"/>
<area href="classpng_1_1generator.html" title="Pixel generator class template." alt="png::generator&lt; pixel, pixgen, info_holder, interlacing_supported &gt;" shape="rect" coords="404,56,798,80"/>
</map>
 </div></div>

<p><a href="classpng_1_1streaming__base-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef pixel_traits&lt; pixel &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1streaming__base.html#a8348458b045db562d76f2032d6b6e138">traits</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1streaming__base.html#ae445d18f5c34630f687a9a050bbebe76">streaming_base</a> (<a class="el" href="classpng_1_1image__info.html">image_info</a> &amp;<a class="el" href="classpng_1_1info.html">info</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1streaming__base.html#a3e858b8fa76ad63a4bcf6d09d2f7363a">streaming_base</a> (size_t width, size_t height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpng_1_1image__info.html">image_info</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1streaming__base.html#adab066b598745083ed1031f20f702faf">get_info</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1streaming__base.html#a5e2700341b10eecb7086ef3cf715c438">reset</a> (size_t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpng_1_1image__info.html">image_info</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1streaming__base.html#a488cef2a7e534a46fef99ebe53c5cf4f">get_info</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">info_holder&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1streaming__base.html#a54ae41876ee5d7e3c2010ebf184608b1">m_info_holder</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename pixel, class info_holder&gt;<br/>
class png::streaming_base&lt; pixel, info_holder &gt;</h3>

<p>A base class template for consumer and generator classes. Provides default <code><a class="el" href="classpng_1_1streaming__base.html#a5e2700341b10eecb7086ef3cf715c438">reset()</a></code> method implementation as well as <code>info_holder</code> policy. </p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a8348458b045db562d76f2032d6b6e138"></a><!-- doxytag: member="png::streaming_base::traits" ref="a8348458b045db562d76f2032d6b6e138" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel, class info_holder&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef pixel_traits&lt; pixel &gt; <a class="el" href="classpng_1_1streaming__base.html">png::streaming_base</a>&lt; pixel, info_holder &gt;::<a class="el" href="classpng_1_1streaming__base.html#a8348458b045db562d76f2032d6b6e138">traits</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classpng_1_1consumer.html#a6da1ca61bdd7bf813fedc88bd54956b6">png::consumer&lt; pixel, pixcon, info_holder, interlacing_supported &gt;</a>, and <a class="el" href="classpng_1_1consumer.html#a6da1ca61bdd7bf813fedc88bd54956b6">png::consumer&lt; pixel, pixel_consumer, image_info_ref_holder, true &gt;</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae445d18f5c34630f687a9a050bbebe76"></a><!-- doxytag: member="png::streaming_base::streaming_base" ref="ae445d18f5c34630f687a9a050bbebe76" args="(image_info &amp;info)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel, class info_holder&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpng_1_1streaming__base.html">png::streaming_base</a>&lt; pixel, info_holder &gt;::<a class="el" href="classpng_1_1streaming__base.html">streaming_base</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpng_1_1image__info.html">image_info</a> &amp;&#160;</td>
          <td class="paramname"><em>info</em></td><td>)</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3e858b8fa76ad63a4bcf6d09d2f7363a"></a><!-- doxytag: member="png::streaming_base::streaming_base" ref="a3e858b8fa76ad63a4bcf6d09d2f7363a" args="(size_t width, size_t height)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel, class info_holder&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpng_1_1streaming__base.html">png::streaming_base</a>&lt; pixel, info_holder &gt;::<a class="el" href="classpng_1_1streaming__base.html">streaming_base</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="adab066b598745083ed1031f20f702faf"></a><!-- doxytag: member="png::streaming_base::get_info" ref="adab066b598745083ed1031f20f702faf" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel, class info_holder&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpng_1_1image__info.html">image_info</a> const&amp; <a class="el" href="classpng_1_1streaming__base.html">png::streaming_base</a>&lt; pixel, info_holder &gt;::<a class="el" href="classpng_1_1streaming__base.html#adab066b598745083ed1031f20f702faf">get_info</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="classpng_1_1consumer.html#a09c64f854a6bc39ec63dfa157958dc9b">png::consumer&lt; pixel, pixel_consumer, image_info_ref_holder, true &gt;::read()</a>, <a class="el" href="classpng_1_1streaming__base.html#a3e858b8fa76ad63a4bcf6d09d2f7363a">png::streaming_base&lt; pixel, image_info_ref_holder &gt;::streaming_base()</a>, and <a class="el" href="classpng_1_1generator.html#ab96a8e8e7050afddb307141d7cabb5eb">png::generator&lt; pixel, pixel_generator, image_info_ref_holder, true &gt;::write()</a>.</p>

</div>
</div>
<a class="anchor" id="a5e2700341b10eecb7086ef3cf715c438"></a><!-- doxytag: member="png::streaming_base::reset" ref="a5e2700341b10eecb7086ef3cf715c438" args="(size_t)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel, class info_holder&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpng_1_1streaming__base.html">png::streaming_base</a>&lt; pixel, info_holder &gt;::<a class="el" href="classpng_1_1streaming__base.html#a5e2700341b10eecb7086ef3cf715c438">reset</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a488cef2a7e534a46fef99ebe53c5cf4f"></a><!-- doxytag: member="png::streaming_base::get_info" ref="a488cef2a7e534a46fef99ebe53c5cf4f" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel, class info_holder&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpng_1_1image__info.html">image_info</a>&amp; <a class="el" href="classpng_1_1streaming__base.html">png::streaming_base</a>&lt; pixel, info_holder &gt;::<a class="el" href="classpng_1_1streaming__base.html#adab066b598745083ed1031f20f702faf">get_info</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a54ae41876ee5d7e3c2010ebf184608b1"></a><!-- doxytag: member="png::streaming_base::m_info_holder" ref="a54ae41876ee5d7e3c2010ebf184608b1" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel, class info_holder&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">info_holder <a class="el" href="classpng_1_1streaming__base.html">png::streaming_base</a>&lt; pixel, info_holder &gt;::<a class="el" href="classpng_1_1streaming__base.html#a54ae41876ee5d7e3c2010ebf184608b1">m_info_holder</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="classpng_1_1streaming__base.html#adab066b598745083ed1031f20f702faf">png::streaming_base&lt; pixel, image_info_ref_holder &gt;::get_info()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="streaming__base_8hpp_source.html">streaming_base.hpp</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Jan 25 2013 14:10:10 for png++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
